package com.qf.service;

import com.qf.pojo.Catalog;

import java.util.List;

public interface CatalogService {
    public List<Catalog> findAll();
    public List<Catalog> findByName(String name);
    public List<Catalog> findByParent(Integer parent);
    public List<Catalog> findByLevel(Integer level);
    public int add(Catalog catalog);
    public int update(Catalog catalog);
    public int delete(Integer id);
}
